package com.aiolos.spring08;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class Bean4 {

    private List<String> stringList;

    @Override
    public String toString() {
        return "Bean4{" +
                "stringList=" + stringList +
                '}';
    }

    public List<String> getStringList() {
        return stringList;
    }

    @Autowired
    public void setStringList(List<String> stringList) {
        this.stringList = stringList;
    }
}
